﻿namespace AnQinFrameWorkAPI.Entity.BaseInfo.View.Staff;

/// <summary>
///     员工视图模型
/// </summary>
public class StaffView
{
    /// <summary>
    ///     员工表id
    /// </summary>
    public string Id { get; set; }

    /// <summary>
    ///     编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    ///     员工名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     员工头像
    /// </summary>
    public string? HeadImage { get; set; }

    /// <summary>
    ///     账号
    /// </summary>
    public string Account { get; set; }

    /// <summary>
    ///     部门id
    /// </summary>
    public string? DepartmentId { get; set; }

    /// <summary>
    ///     部门名称
    /// </summary>
    public string? DepartmentName { get; set; }

    /// <summary>
    ///     角色列表
    /// </summary>
    public string[]? StaffRoleList { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}